package cn.dada.dadarecipes.community.article.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class ArticleQuery {
    @ApiModelProperty(value = "文章id")
    Long id;
//    @ApiModelProperty(value = "用户id")
//    Long userId;
    @ApiModelProperty(value = "文章标题")
    String title;

    //user表
    @ApiModelProperty(value = "发布文章的人")
    String username;
}